home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Util / G-H / Gumboot / jive.Docs < prev    next >
Encoding:
Text File  |  1992-12-06  |  7.5 KB  |  157 lines  |  [ttro/ttxt]

  1. Jive.
  2.  
  3. Jive is an Utility programme written as an addition to Gumboot, the Real World Interface for Macs, and therefore is as Quick and Dirty as they come. Jive was written to provide a tool that would be very straight forward to use but contain enough features to make it a bit more pleasant to use then a normal Terminal application. It was written to make the most out of Microprocessor Development kits, the one that I am using at present is on based around the MC68HC11A8.
  4.  
  5. Specs…
  6.  
  7. Display of incoming data in binary, ASCII, and other formats.
  8.  
  9. Display of incoming data as a chart.
  10.  
  11. Able to save data as a file or down load data to a target processor in one command.
  12.  
  13. Soft scrolling and fast or slow display of incoming text.
  14.  
  15. Wide range of Baud rates and text sizes.
  16.  
  17. Replacement of incoming space characters with Tabs or Commas, this allows this application to be gather data usually bound for a printer and store it in a format that can be used by other applications.
  18.  
  19. • MultiFinder or System 7.0 does work but......  MultiFinder cannot guarantee ‘processor time when required, you may want to Format a disk or some other horrible task.
  20.  
  21. • Screen Redraws are Not supported, be careful. Avoid using dialog boxes.
  22.  
  23.  
  24. The Menus.
  25.  
  26. File
  27. Display Text
  28.  
  29. •Prompts you for a file and then flashes it past you eyes at unreadable speed. Sorry it’s only there to allow you to check on what is being saved to disk. If you wish to take a more serious look at a file I suggest a simple DA or Quit and Run a Spreadsheet or Text Editor, EDIT is a good choice.
  30.  
  31. Upload File 
  32.  
  33. •Does the same as Display Text but churns it out to line to be received by a waiting, whatever.. used to Upload Programmes to Gumboot.
  34.  
  35. Save Text/Data 
  36.  
  37. •Gives you a chance to save incoming data either ASCII text or if used with other Menu Items, Prompt for Text, it will save incoming data as converted readings. This Item Toggles the Capture Mode on and off as shown by a flag next to the item in the menu. Data will be saved as a Data file if jive in the Chart mode.
  38.  
  39. Quit 
  40.  
  41. •This command closes the programme down, freeing the Modem port, and it also closes the current Data Capture file, just in case you forget.
  42.  
  43.  
  44. Edit
  45.  
  46. • The Edit Menu is not supported.
  47.  
  48. Commands
  49. Erase Screen
  50.  
  51. •The screen is cleared and, if Graph is selected, a new Grid is drawn, else it will reflect my current state of mind, blank.
  52.  
  53. Local Echo 
  54.  
  55. •Useful as a check of what is going out to line, but that’s about it.
  56.  
  57. Soft Scrolling
  58.  
  59. •This item On or Off the soft scrolling of text as it appears on the screen, normally text shifts up in an abrupt fashion that is often hard to read, soft scrolling moves text up the screen in a much smother fashion.
  60.  
  61. Fast Display
  62.  
  63. •Incoming data can be quickly processed, halting all other processes until finished or data is processed on character at a time and allowing time for background tasks etc. Jive has a buffer for about 30,000 characters.
  64.  
  65. Baud
  66. 9600
  67.  
  68. •This is the current Baud rate used by Gumboot, resistance is useless.
  69.  
  70. Other…
  71.  
  72. •This feature is to be used carefully, some times Microprocessors need strange baud rates at the worst moments, so I included this option but it is only good from about 150 to 19,200 bits per second.
  73.  
  74. Options
  75. Binary, Literal
  76.  
  77. • This translates the incoming data into Binary i.e. 1s and 0s. This includes incoming ASCII text etc.
  78.  
  79. Decimal
  80.  
  81. • This translates the incoming data into a Decimal value in similar fashion to Binary, Literal.
  82.  
  83. Hex
  84.  
  85. • This translates the incoming data into a Hex value in similar fashion to Binary, Literal.
  86. NB a character is added to show which translation is being used.
  87.  
  88. • The Characters that we use to identify different types of numbering are;
  89.  
  90.  $ - Hexadecimal
  91.  & - Decimal
  92.  % - Binary
  93. eg $22 = &34 = %00100010
  94.  
  95. Binary, Decoded
  96.  
  97. • This will look at the incoming ASCII text and translate any valid character that represents a Hex character with the Binary Value, confused ?  If the ASCII character ‘1’ has arrived then we will see 0001 placed onto the screen, ‘A’ would be 1010 etc., all other non Hex ASCII characters remain unchanged. Why ? if we are using the command MM FFFE with an MC68HC11A8 microprocessor Dev. Kit then we are asking for the contents of memory location FFFE and we will get back something like
  98.  
  99. MM FFFE E0
  100.  
  101. Nice but if we wanted to see if a particular bit had changed or what it’s condition was, this item would have displayed it like this
  102.  
  103. MM 1111111111111110 1110000
  104.  
  105. The command remains the same but we see the data as it is actually used by the microprocessor. Very handy for I/O work and fault finding on Address and Data buses.
  106.  
  107. NB this item is not fool proof, Commands that use the characters from ‘A’ to ‘F’’ will also be translated. Keyboard entry does not change.
  108.  
  109. Chart
  110.  
  111. • This changed the display to Chart Mode. As each character is read from the serial port it is translated to binary and drawn in a chart or line fashion onto the screen, when another character is received the display is shifted to the left and the new data is drawn. So if a programme is running in the target device and data is being received by Jive then it will continue to show this data as lines across the screen.
  112.  
  113. Incoming Samples
  114.  
  115. • This item allows you to filter out a varying number of samples. i.e. we might only display one in every 100 samples, the other 99 are discarded.
  116.  
  117. Space Replacement
  118.  
  119. • This item was included to make Jive do a little more than usual. If your Mac is hooked up in place of a printer then you could save the data to a file instead of it going onto paper. And if we replace the Space character with a Tab or Comma then it may make using this file with other applications, HyperCard, Spreadsheets or Databases, easier. Then again it may not.
  120.  
  121. Text Size and Font
  122.  
  123. • This applies to text displayed on the screen and may help make of a clearer display of data.
  124.  
  125. Gumboot
  126.  
  127. Programme... 
  128.  
  129. •Like Upload and Display File, you are asked to select a file except that, files loaded this way are assumed to contain directives for Gumboot, so that it may load and then automatically run a programme. To enable some control over loading and running some ‘commands’ must be written into the file to be selected.
  130.  
  131. File Format 
  132.  
  133. If you use an Assembler to generate a file for Gumboot then you should end up with a file of Motorola S records, these files are TEXT files and can be opened with most Text Editing tools. To make life easy, we add the commands, that are usually need to Programme Gumboot, to this file. All Gumboot commands must be in Uppercase letters, and to directives can be added to make it work with Jive, these are 
  134.  
  135. ‘r’, lowercase R, tells Jive to send a Return character.
  136.  
  137. ‘d’, lowercase D, tells Jive to wait for a period before sending any more characters, this gives Gumboot time to shift data around or programme EEPROM addresses.
  138.  
  139. Example
  140.  
  141. BULKrd
  142. LOAD Tr
  143. S10600007EE00A91
  144.   |
  145.   |
  146. S10A004427F9B7102F393F23
  147. S9030000FCd
  148. move 0000 0050 b600rd
  149. G B604r
  150.  
  151. In the above example you can spot the Bulk and Load commands used to ready Gumboot for the data and, at the end, the commands to transfer the data to EEPROM and then start the programme. ‘r’ and ‘d’ are not sent to line.
  152.  
  153. Jive is an evolving application, it may be changed to reflect my current needs or at the suggestion of others, if you want a change made, feel free to contact me. An address will be included in this documentation or keep an eye the various BBSs, PD / Shareware people, and other sources.
  154.  
  155. © 1992 Paul B Jones.
  156. All rights reserved.
  157. You may copy this software for any non commercial purpose, but remember, it belongs to me, and if you want updates, changes or a PCB for a Microprocessor Experimenters Kit for Macintosh, then contact me.